<?php

declare(strict_types=1);

namespace app\example\controller;

use app\admin\BaseAdminController;
use think\facade\View;

class Components extends BaseAdminController
{
    public function index()
    {
        View::assign('title', '手风琴菜单/组件');
        return View::fetch();
    }

    public function alerts()
    {
        View::assign('title', '警告框/组件');
        return View::fetch();
    }

    public function badge()
    {
        View::assign('title', '徽章/组件');
        return View::fetch();
    }

    public function breadcrumb()
    {
        View::assign('title', '面包屑导航/组件');
        return View::fetch();
    }

    public function buttons()
    {
        View::assign('title', '按钮/组件');
        return View::fetch();
    }

    public function button_group()
    {
        View::assign('title', '按钮组/组件');
        return View::fetch();
    }

    public function card()
    {
        View::assign('title', '卡片/组件');
        return View::fetch();
    }

    public function carousel()
    {
        View::assign('title', '轮播/组件');
        return View::fetch();
    }

    public function close_button()
    {
        View::assign('title', '关闭按钮/组件');
        return View::fetch();
    }

    public function collapse()
    {
        View::assign('title', '折叠/组件');
        return View::fetch();
    }

    public function dropdowns()
    {
        View::assign('title', '下拉菜单/组件');
        return View::fetch();
    }

    public function list_group()
    {
        View::assign('title', '列表组/组件');
        return View::fetch();
    }

    public function modal()
    {
        View::assign('title', '模态框/组件');
        return View::fetch();
    }

    public function navs_tabs()
    {
        View::assign('title', '导航 & 标签页/组件');
        return View::fetch();
    }

    public function navbar()
    {
        View::assign('title', '导航栏/组件');
        return View::fetch();
    }

    public function offcanvas()
    {
        View::assign('title', '滑动容器/组件');
        return View::fetch();
    }

    public function pagination()
    {
        View::assign('title', '分页/组件');
        return View::fetch();
    }

    public function placeholders()
    {
        View::assign('title', '占位符/组件');
        return View::fetch();
    }

    public function popovers()
    {
        View::assign('title', 'POP提示/组件');
        return View::fetch();
    }

    public function progress()
    {
        View::assign('title', '进度条/组件');
        return View::fetch();
    }

    public function scrollspy()
    {
        View::assign('title', '滚动监听/组件');
        return View::fetch();
    }

    public function spinners()
    {
        View::assign('title', '加载状态/组件');
        return View::fetch();
    }

    public function toasts()
    {
        View::assign('title', '通知消息/组件');
        return View::fetch();
    }

    public function icons()
    {
        View::assign('title', '图标/组件');
        return View::fetch();
    }
}
